package wudl.bigdata.db.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import wudl.bigdata.db.bean.HiveTableBean;

import java.util.List;
import java.util.Map;

/**
 * @Author: wudl
 * @Description:
 * @ClassName: HiveTableMapper
 * @Date: 2023/5/28 16:25
 */

@DS("hive_db")
public interface HiveTableMapper {


    /**
     * 传入sql 语句
     *
     * @param sql
     * @return
     */
    public List<String> tableList(String sql);


    public List<Map<String, Object>> getListMap(String sql);
}
